package sisi.suppliers;

import java.io.Serializable;
import javax.persistence.*;


/**
 * Portssupplier.java - The persistent class for the <i>supplier ports database table</i>. 
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0, 10/12/2013
 * 
 */
@Entity
@Table(name="portssuppliers")
public class Portssupplier implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(name="PORTSSUPPLIERS_ID_GENERATOR", sequenceName="PORTSSUPPLIERSSEQ", allocationSize=1)
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="PORTSSUPPLIERS_ID_GENERATOR")
	private Integer id;

	private String country;

	private Boolean fuel;

	@Column(name="logic_delete")
	private Boolean logicDelete;

	private Boolean oil;

	private Integer portid;

	private String portname;

	private Integer seq;

	private String supname;

	private Integer suppid;

	public Portssupplier() {
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCountry() {
		return this.country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public Boolean getFuel() {
		return this.fuel;
	}

	public void setFuel(Boolean fuel) {
		this.fuel = fuel;
	}

	public Boolean getLogicDelete() {
		return this.logicDelete;
	}

	public void setLogicDelete(Boolean logicDelete) {
		this.logicDelete = logicDelete;
	}

	public Boolean getOil() {
		return this.oil;
	}

	public void setOil(Boolean oil) {
		this.oil = oil;
	}

	public Integer getPortid() {
		return this.portid;
	}

	public void setPortid(Integer portid) {
		this.portid = portid;
	}

	public String getPortname() {
		return this.portname;
	}

	public void setPortname(String portname) {
		this.portname = portname;
	}

	public Integer getSeq() {
		return this.seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public String getSupname() {
		return this.supname;
	}

	public void setSupname(String supname) {
		this.supname = supname;
	}

	public Integer getSuppid() {
		return this.suppid;
	}

	public void setSuppid(Integer suppid) {
		this.suppid = suppid;
	}

}